//package com.opennetexam.manager.async;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler;
//
//import java.lang.reflect.Method;
//
///**
// * @Description 异步任务异常处理器
// * @Author 奶茶
// * Created by on 2018/9/19 16:41.
// */
//public class AsyncTaskExceptionHandler implements AsyncUncaughtExceptionHandler{
//
//    private static final Logger logger = LoggerFactory.getLogger(AsyncTaskExceptionHandler.class);
//
//    @Override
//    public void handleUncaughtException(Throwable ex, Method method, Object... params) {
//        logger.info("------------->>捕获线程异常<<---------------");
//        logger.info(method.getName() + "出现异常",ex);
//    }
//}
